package com.yoso.domain.jpa;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author shizejin
 * @date 2022/8/1
 * @description:
 */
@Entity
@Table(name = "t_user_consumer")
@Data
public class UserEntity {
    @Id
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;
    private String name;
    private String username;
    private Integer age;
}
